﻿#include <iostream>

using namespace std;

int main() {
	int n;

	do {
		cout << "数值：";
		cin >> n;
	} while (n <= 0);

	for (int i = 1; i <= n; i+=2) {
		cout << i << '\n';
	}

	cin.get();
	cin.get();
}